package com.jms.framework.beans.creator;

import com.jms.framework.beans.BeanDefinition;
import com.jms.framework.beans.annotation.Component;
import com.jms.framework.beans.utils.BeanInitializeUtils;
import com.jms.framework.context.ApplicationContext;

@Component
public class GeneralBeanDefinitionCreator extends BeanDefinitionCreator {

    public GeneralBeanDefinitionCreator() {
        super(999999);
    }

    @Override
    public BeanDefinition create(Class<?> clazz, ApplicationContext applicationContext) {
        return BeanInitializeUtils.createBeanDefinition(clazz);
    }
}
